package com.aaa.demo06;

import java.lang.annotation.Target;

/**
 * @author 荆豪峰
 * @version 1.0
 */
public class Test06 {

 @interface Your{

    }
    @Your
    class teacher{
     @Your
        private int age;

     @Your
        public void show(@Your int age){
         System.out.println(age);
     }
    }
}
